package it.unipi.di.rasip.utils;

import java.io.IOException;
import java.io.InputStream;

public class RaSipUtils {
	
	public static void writeInputStream ( InputStream is,StringBuffer msg ) throws IOException {
		char ch;
		while ( (ch= (char) is.read()) != (char) -1) {
			msg.append(ch);
		}
	}
}
